package com.yuanduo_app.entity;

import cn.ydxlm.maplib.entity.Location;

public class NearbyEntity {
    private Location mLocation;
    private boolean isChecked;

    public NearbyEntity (Location location) {
        mLocation = location;
    }

    public NearbyEntity (Location location, boolean isChecked) {
        mLocation = location;
        this.isChecked = isChecked;
    }

    public boolean isChecked () {
        return isChecked;
    }

    public void setChecked (boolean checked) {
        isChecked = checked;
    }

    public Location getLocation () {
        return mLocation;
    }

    public void setLocation (Location location) {
        mLocation = location;
    }
}
